package com.ruoyi.material.mapper;

import com.ruoyi.material.domain.MateProductDetail;
import com.ruoyi.material.domain.MateProductDetailModel;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @Author
 * @Version 1.0
 */
@Mapper
public interface DetailMapper {
    public  int insertDetail(MateProductDetail mateProductDetail);

    public int insertDetailModel(MateProductDetailModel mateProductDetailModel);

    public List<MateProductDetail> selectMateProductDetail(Long detailId);

    public List<MateProductDetail> selectMateProductDetails(MateProductDetail mateProductDetail);

    public MateProductDetail selectProductDetail(Long detailId);

    public MateProductDetail selectLast(Long deptId);
}
